#include"stdio.h"
int main()
{
	int i ;
	for (i = 1; i <= 100; i++)
	{
		if (i % 3 == 0)
			printf("%d", i);

	}
	int i = 0;
	for (i = 1; i <= 100; i++)
	{
		if (i % 10 == 9)
			printf("%d", i);
	}
	int i;
	for (i = 1000; i <= 2000; i++)
	{
		if ((i % 4 == 0 && i % 100 != 0)||(i%400==0))
			printf("%d\n", i);
	}
	int a, b, c;
	while (scanf_s("%d %d %d", &a, &b, &c) != eof)
	{
		if ((a + b) > c && (a + c) > b && (b + c) > a)
		{
			if (a == b && b == c)
			{
				printf("equilateral triangle!\n");
			}
			else if ((a == b) && (b != c) || (a == c) && (b != c) || (b == c) && (c != a))
			{
				printf("isosceles triangle!\n");
			}
			else
			{
				printf("ordinary triangle!\n");
			}

		}
		else
			printf("not a triangle!");
	}
	int a, b, c;
	a = 0;
	b = 0;
	c = 0;
	scanf_s("%d %d %d", &a, &b, &c);
	if(a<b)
	{
		int tmp = a;
		a = b;
		b = tmp;
	}
	if (a < c)
	{
		int tmp = a;
			a = c;
			c = tmp;
	}
	if (c < b)
	{
		int tmp = c;
		c = b;
		b = tmp;
	}
	printf("%d,%d,%d\n", a, b, c);
	return 0;
}